<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <title>登录</title>
  <style>
    table, th, td {
      border: 1px solid #ccc;
    }
  </style>
</head>
<body>

<form action="/login" method="post" style="width: 225px;margin:0 auto;">
  <table>
    <tr>
      <td><label for="userName">用户名：</label></td>
      <td><input id="userName" name="userName" type="text" placeholder="请输入用户名"/></td>
    </tr>
    <tr>
      <td><label for="userPass">密&nbsp;&nbsp;码：</label></td>
      <td><input id="userPass" name="userPass" type="password" placeholder="请输入密码"/></td>
    </tr>
    <tr>
      <td><input name="captcha" type="text" style="width:135px;height: 30px;vertical-align:bottom;"/></td>
      <td><img src="/genCaptcha"
               onclick="this.src='/genCaptcha?nocache='+new Date().getTime();"
               style="vertical-align:bottom;"></td>
    </tr>
    <tr>
      <td><input type="submit" value="登录"/></td>
      <td><input type="reset" value="重置"/></td>
    </tr>
  </table>
</form>

</body>
</html>
